package com.rxyb.rabbitmq.config.queue;

import org.springframework.amqp.core.AbstractExchange;
import org.springframework.amqp.core.Binding;
import org.springframework.amqp.core.Queue;

/**
 * @author YJH
 * @version 1.0
 * @description
 * @date 2020/6/3  17:53
 */
public interface EnventQueue {

    /**
     * 获取队列
     *
     * @return
     */
    Queue getQueue();

    /**
     * 策略的Exchange交换机实例
     *
     * @return
     */
    AbstractExchange getExchange();

    /**
     * 队列绑定
     *
     * @return
     */
    Binding bindingExchange();
}
